package cn.edu.sdjzu.xg23.kcsj01_backend.mapper;


import cn.edu.sdjzu.xg23.kcsj01_backend.entity.authority.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper {

    List<Permission> selectPermissionByRoleId(Long id);
    // 返回原始List类型，MyBatis自动映射为Permission列表
    List<Permission> selectPermissionTree();

}
